package timu;

public class sushu200_300 {
    public static int sushu(double a) {
        int b=0;
        for (int i = 2; i <=Math.sqrt(a); i++) {
            if(a%i==0){
                b=1;
                break;
            }
        }
        return b;
    }
    public static void main(String[] args){
        System.out.println("200-300之间的素数如下：");
        int c=0;
        for(int i=201;i>200&&i<300;i++){
            if(sushu(i)==0) {
                System.out.printf(i + "    ");
                c++;
                if(c%6==0){
                    System.out.println();
                }
            }
        }
    }
}